<?php echo '<?xml version="1.0" encoding="UTF-8"?>'?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" ><?php foreach($items as $i):?><url><loc><?php echo $i['loc']?></loc><lastmod><?php echo $i['lastmod']?></lastmod><changefreq><?php echo $i['changefreq']?></changefreq><priority><?php echo $i['priority']?></priority></url><?php endforeach;?></urlset>